package Test.Moteur;

import Risk.Moteur.Continent;
import Risk.Moteur.Jeu;
import Risk.Moteur.Plateau;

import java.io.File;

/**
 *
 * @author alex
 */
public class TestContinent {
    public static void main(String[] args) {
	Plateau		p     = new Plateau(new Jeu());
	Continent	conti = new Continent("Europe", 5, p);

	conti.initialisationPays("donnee" + File.separator + "pays_continents.prn");
	System.out.println("" + conti.getNom());
	System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
	conti = new Continent("Oceanie", 3, p);
	conti.initialisationPays("donnee" + File.separator + "pays_continents.prn");
	System.out.println("" + conti.getNom());
	System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
	conti = new Continent("Afrique", 3, p);
	conti.initialisationPays("donnee" + File.separator + "pays_continents.prn");
	System.out.println("" + conti.getNom());
	System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
	conti = new Continent("AmeriqueN", 3, p);
	conti.initialisationPays("donnee" + File.separator + "pays_continents.prn");
	System.out.println("" + conti.getNom());
	System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
	conti = new Continent("AmeriqueS", 3, p);
	conti.initialisationPays("donnee" + File.separator + "pays_continents.prn");
	System.out.println("" + conti.getNom());
	System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
	conti = new Continent("Asie", 52, p);
	conti.initialisationPays("donnee" + File.separator + "pays_continents.prn");
	System.out.println("" + conti.getNom());
	System.out.println("" + conti.getPaysContinent() + " ==> " + conti.getPaysContinent().size());
    }
}
